package com.zmj.sy.mom.srv.aps.bean.entity.reportErp;

import java.io.Serializable;
import io.swagger.annotations.*;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * (ReportErpReply)实体类
 *
 * @author makejava
 * @since 2024-10-08 11:12:42
 */
@Data
@ApiModel("$tableInfo.comment")
@TableName("tb_mes_report_erp_reply")
public class ReportErpReply implements Serializable {

    @ApiModelProperty(value = "唯一di")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "累计报工数量")
    @TableField("add_qty")
    private Integer addQty;
    @ApiModelProperty(value = "开报工人员工号")
    @TableField("employee_code")
    private String employeeCode;
    @ApiModelProperty(value = "设备编码")
    @TableField("equip_code")
    private String equipCode;
    @ApiModelProperty(value = "工厂编号")
    @TableField("factory")
    private String factory;
    @ApiModelProperty(value = "班组编码")
    @TableField("group_code")
    private String groupCode;
    @ApiModelProperty(value = "物料编码")
    @TableField("material_code")
    private String materialCode;
    @ApiModelProperty(value = "物料名称")
    @TableField("material_name")
    private String materialName;
    @ApiModelProperty(value = "报废数量")
    @TableField("ng_qty")
    private Integer ngQty;
    @ApiModelProperty(value = "合格报工数量")
    @TableField("ok_qty")
    private Integer okQty;
    @ApiModelProperty(value = "ERP工作中心")
    @TableField("op_code")
    private String opCode;
    @ApiModelProperty(value = "ERP工作中心名")
    @TableField("op_name")
    private String opName;
    @ApiModelProperty(value = "顺序号")
    @TableField("op_seq")
    private String opSeq;
    @ApiModelProperty(value = "erp工序号")
    @TableField("op")
    private String op;
    @ApiModelProperty(value = "施工号")
    @TableField("order_code")
    private String orderCode;
    @ApiModelProperty(value = "接收人")
    @TableField("receive_code")
    private String receiveCode;
    @ApiModelProperty(value = "入库库房")
    @TableField("stock_no")
    private String stockNo;
    @ApiModelProperty(value = "结算库房")
    @TableField("stock_no_fee")
    private String stockNoFee;
    @ApiModelProperty(value = "子工单号")
    @TableField("task_code")
    private String taskCode;
    @ApiModelProperty(value = "实际完成时间")
    @TableField("work_end_time")
    private String workEndTime;
    @ApiModelProperty(value = "工单号")
    @TableField("work_order_code")
    private String workOrderCode;
    @ApiModelProperty(value = "实际开始时间")
    @TableField("work_start_time")
    private String workStartTime;
    @ApiModelProperty(value = "成功或失败标志，-1未回传，0失败，1成功")
    @TableField("flag")
    private Integer flag;
    @ApiModelProperty(value = "设备名称")
    @TableField("equip_name")
    private String equipName;
    @ApiModelProperty(value = "零件号")
    @TableField("plmid")
    private String plmid;
    @ApiModelProperty(value = "零件名")
    @TableField("part_name")
    private String partName;
    @ApiModelProperty(value = "mes工序号")
    @TableField("phase")
    private String phase;
    @ApiModelProperty(value = "报工工位")
    @TableField("work_place")
    private String workPlace;
    @ApiModelProperty(value = "确认标志")
    @TableField("ok_id")
    private String okId;
    @ApiModelProperty(value = "父工单")
    @TableField("work_order_parent")
    private String workOrderParent;
    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private String createDate;
    @ApiModelProperty(value = "更新时间")
    @TableField("update_date")
    private String updateDate;
    @ApiModelProperty(value = "报错日志")
    @TableField("error_log")
    private String errorLog;
    @ApiModelProperty(value = "回传次数，超过2次不回传")
    @TableField("report_times")
    private Integer reportTimes;
    @ApiModelProperty(value = "删除标志 0未删除 1已删除")
    @TableField("deleted")
    private Integer deleted;
    @ApiModelProperty(value = "tb_aps_work_order的id")
    @TableField("wo_id")
    private Integer woId;

    @ApiModelProperty(value = "订单数量")
    @TableField("order_cnt")
    private Integer orderCnt;
}

